home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / httpd / support / auth / pgp-enc.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-05-09  |  552 b   |  21 lines

  1. #!/bin/sh
  2.  
  3. # Set this to your user name, the name on your secret key
  4. PGPUSER=webmaster@hoohoo.ncsa.uiuc.edu
  5. # Set this to the key to your secret key
  6. PGPPASS=mypassword
  7. # Set this to wherever you keep your secret and public keys
  8. PGPPATH=/X11/robm/httpd/support/auth/pgp-keys
  9. # Set this to the location of the PGP binary on your system
  10. PGPBIN=/usr/local/bin/pgp
  11.  
  12. # You shouldn't need to edit anything under this line
  13.  
  14. export PGPPASS
  15. export PGPPATH
  16.  
  17. # Make sure PGP doesn't try to make temp files in /
  18. cd /tmp
  19. exec $PGPBIN -fe $* -u $PGPUSER 2>/dev/null
  20.  
  21.